package javafx179labs.MIKHAILOV.lab1;
import javafx.stage.Stage;
import javafx.scene.Scene;
import javafx.scene.text.Text;
import javafx.scene.text.Font;
import javafx.scene.paint.*;
import javafx.scene.effect.*;
import javafx.scene.shape.*;
import javafx.scene.effect.light.*;
import javafx.scene.transform.*;
import javafx.scene.Group;
/**
 * @author �����
 */

Stage {
    title:"test 1"
    width: 250
    height: 80
    scene: Scene {
     width: 1000
    height: 500
    fill: LinearGradient {
        endX: 0.0
        stops: [ Stop { offset: 0.1 color: Color.LIGHTBLUE }
                 Stop { offset: 0.9 color: Color.BLACK } ]
                 }
    content: [
            Text {
 effect: BoxBlur { width:5 height:5 iterations:10 } //������. Number of passes must be in the range [0,3]
 cache: true
 transforms: Shear { x: -0.35 y: 0 }
 x: 440 y: 530
 content: "hello world!!!"
 fill: Color.RED
 font:Font
 {
     size: 24
 }
}
Text {
 x:200
 y:40
 content:"PEACE BROTHER!!!"
 fill:Color.CADETBLUE
 font:Font
 {
 size:24
        }
 effect: Reflection { fraction: 0.7 }
    cache: true
    }
Text {
 x:450
 y:40
 content:"YO!!!"
 fill:Color.DARKGREEN
 font:Font
 {
 size:24
        }
 effect: GaussianBlur {}
    cache: true
 }
Ellipse   {
 centerX: 500  centerY: 50
 radiusX: 100  radiusY: 50
  fill: Color.DARKRED
 transforms :Rotate { angle: 40 }
}
Circle {
 effect: DropShadow { offsetY: 4 }
centerX: 352  centerY: 180
 radius: 50
 fill: Color.YELLOW
 cache: true
 }

 Circle {
 effect: DropShadow { offsetY: 4 }
centerX: 352  centerY: 180
 radius: 25
 fill: Color.YELLOW
 cache: true
 }

 Circle {
 effect: DropShadow { offsetY: 4 }
centerX: 352  centerY: 180
 radius: 15
 fill: Color.BLACK
 cache: true
 }

 Rectangle {
    x: 252  y: 110
    width: 200  height: 10
    fill:Color.WHITE
    transforms: Transform.rotate(45,0,0);
    effect: GaussianBlur {}
    cache: true

   }
  Rectangle {
    x: 252  y: 250
    width: 200  height: 10
    fill:Color.WHITE
    transforms: Transform.rotate(45,0,0);
    effect: GaussianBlur {}
    cache: true
    }
   Rectangle {
    x: 252  y: 110
    width: 200  height: 10
    fill:Color.YELLOW
    effect: InnerShadow { offsetX: 4 offsetY: 4 }

   }
   Rectangle {
    x: 252  y: 110
    width: 100  height: 10
    fill:Color.YELLOW
     }
  Rectangle {
    x: 252  y: 250
    width: 200  height: 10
    fill:Color.YELLOW
    effect: InnerShadow { offsetX: 4 offsetY: 4 }
    }
   Rectangle {
    x: 352  y: 250
    width: 100  height: 10
    fill:Color.YELLOW

    }
Arc {
    centerX: 650  centerY: 400
    radiusX: 25  radiusY: 25
    startAngle: 45  length: 270
    type: ArcType.CHORD
    fill:Color.AQUA
    transforms: Shear { x: -0.35 y: 0 }
    effect: Bloom {}
    cache: true
}
Path {
    elements: [
        MoveTo { x: 10  y: 50 },
        HLineTo { x: 70 },
        QuadCurveTo { x: 120  y: 60  controlX: 100  controlY: 0 },
        LineTo { x: 175  y: 55 },
        ArcTo { x: 10  y: 50  radiusX: 100  radiusY: 100  sweepFlag: true },
    ]
    fill:Color.GOLD
}

]
}
}
